package com.gaohe.service.impl;

import com.gaohe.pojo.StadBuyCard;
import com.gaohe.mapper.StadBuyCardMapper;
import com.gaohe.service.StadBuyCardService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 购会员卡表 服务实现类
 * </p>
 *
 * @author liu
 * @since 2025-04-12
 */
@Service
public class StadBuyCardServiceImpl extends ServiceImpl<StadBuyCardMapper, StadBuyCard> implements StadBuyCardService {

    @Autowired
    private StadBuyCardMapper stadBuyCardMapper;
    @Override
    public List<StadBuyCard> getBuyCardList(Long id) {
        return stadBuyCardMapper.getBuyCardList(id);
    }

    @Override
    public List<StadBuyCard> getBuyCardById(Long id) {
        return stadBuyCardMapper.getBuyCardById(id);
    }
}
